package com.money.mapper;

import com.money.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Book record);

    Book selectByPrimaryKey(Integer id);

    List<Book> selectAll(@Param("author") String author, @Param("publish") String publish);

    int updateByPrimaryKey(Book record);
}